<?php
function listcalc(&$aCampiDB) {
	global $objSess, $objDB;
	//dbg_(__FILE__);
   $oDX = new ovfDate($aCampiDB['C_data_iniz'],'ymd');
   $aCampiDB['W_durata'] = $oDX->dayDiff($aCampiDB['C_data_fine'], 'ymd')+1;
   //dbg_($aCampiDB);
	return true;
}
